//
//  NewJiFenJiLvTableViewCell.m
//  wangzhe
//
//  Created by 李 佳伟 on 2018/3/23.
//  Copyright © 2018年 李 佳伟. All rights reserved.
//

#import "NewJiFenJiLvTableViewCell.h"

#import "JTCSM.h"
#import "MyInfoView.h"
static CGFloat myinfoHeight = 75;
static CGFloat space = 20;
@interface NewJiFenJiLvTableViewCell ()

@property (nonatomic,strong) UILabel *label;
@property (nonatomic,strong) UILabel *contentlabel;
@property (nonatomic,strong) UILabel *footerLabel;

@property (nonatomic,strong) UIView *lineView;

@end
@implementation NewJiFenJiLvTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if ([super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        _label = [UILabel initWithFrame:CGRectMake(space , 0, KSCREENWidth, myinfoHeight/2) text:@"测试" font:14 textAlignment:NSTextAlignmentLeft texcolor:RGBACOLOR(51, 51, 51, 1) backgroundColor:nil];
        [self addSubview:_label];
        _label.userInteractionEnabled = YES;
        
        _contentlabel = [UILabel initWithFrame:CGRectMake(space , myinfoHeight/2, KSCREENWidth, myinfoHeight/2) text:@"2018-03-23" font:12 textAlignment:NSTextAlignmentLeft texcolor:[df colorWithHexString:@"999999" alpha:1] backgroundColor:nil];
        [self addSubview:_contentlabel];
        _contentlabel.userInteractionEnabled = YES;
        
        self.footerLabel = [UILabel initWithFrame:CGRectMake(KSCREENWidth-space-200 , 0, 200, myinfoHeight) text:@"" font:14 textAlignment:NSTextAlignmentRight texcolor:[UIColor blackColor] backgroundColor:nil];
        [self addSubview:self.footerLabel];
        self.footerLabel.userInteractionEnabled = YES;
        self.lineView =[df newlineViewWithHeightofTop:myinfoHeight superView:self spacing:space color:RGBACOLOR(241, 241, 241, 1) lineHeight:1];
    }
    return self;
}

@end
